package net.luerything.restlet.gwt.rpc;

/**
 * A flag interface, which indicates the implementers should be able to provide an instance of
 * {@link GwtRpc}
 * <p/>
 * Usually this interface is implemented by an {@link org.restlet.Application}.
 * So {@link org.restlet.resource.ServerResource} is able to get the {@link GwtRpc}
 * instance from its parent {@link org.restlet.Application}.
 *
 * @author keke
 * @see net.luerything.restlet.gwt.rpc.GwtRpcResource
 */
public interface HasGwtRpc {
  /**
   * @return instance of GwtRpcImpl
   */
  GwtRpc getGwtRpc();
}
